<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>

<head>
    <title>登录页面</title>
    <link href="<%=basePath%>css/login.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
    <script type="text/javascript">
        $(function(){
            $('.captcha').focus(function(){
                $('.yzm-box').show();
            });

            $('.captcha').focusout(function(){
                $('.yzm-box').hide();
            });
        });

    </script>

</head>
<body>
<div id="wrap">
    <div id="header"> </div>
    <div id="content-wrap">
        <div class="space"> </div>
        <form action="loginController" method="post" name="ThisForm">
            <div class="content">
                <div class="field"><label>账　户：</label><input class="username" name="username"  type="text" /></div>
                <div class="field"><label>密　码：</label><input class="password" name="password"  type="password" /><br /></div>
                <div><label>${error}</label></div>
            </div>
            <div class="btn"><input name="" type="submit" class="login-btn" value="" /></div>
        </form>
    </div>
    <div id="footer"> </div>
</div>
</body>
</html>